package com.ihr360.job.core.item;

/**
 * Exception indicating that an error has been encountered doing I/O from a
 * reader, and the exception should be considered fatal.
 *
 * @author Dave Syer
 */
@SuppressWarnings("serial")
public class NonTransientResourceException extends ItemReaderException {

    /**
     * Create a new {@link NonTransientResourceException} based on a message and
     * another exception.
     *
     * @param message the message for this exception
     * @param cause the other exception
     */
    public NonTransientResourceException(String message, Throwable cause) {
        super(message, cause);
    }

    /**
     * Create a new {@link NonTransientResourceException} based on a message.
     *
     * @param message the message for this exception
     */
    public NonTransientResourceException(String message) {
        super(message);
    }

}